﻿using Project.Model;
using System;
using System.Collections.Generic;
using System.Text;
using Tool.Model;

namespace Project.Logic
{
    /// <summary>
    /// 工程操作逻辑类接口
    /// </summary>
    public interface IProjectService
    {

        /// <summary>
        /// 获取所有的工程项目
        /// </summary>
        /// <param name="parametersInfo"></param>
        /// <returns></returns>
        ResultJsonInfo<List<ProjectInfoQueryResponse>> LoadProjectAllList();

        /// <summary>
        /// 根据条件获取工程基础信息
        /// </summary>
        /// <param name="parametersInfo"></param>
        /// <returns></returns>
        ResultJsonInfo<List<ProjectInfoQueryResponse>> LoadProjectList(ParametersInfo<ProjectInfoQueryRequest> inputInfo);

        /// <summary>
        /// 保存信息
        /// </summary>
        /// <param name="parameters"></param>
        /// <returns></returns>
        ResultJsonInfo<int> Save(ProjectOperateRequest parameters);

        /// <summary>
        /// 删除项目
        /// </summary>
        /// <param name="parameters"></param>
        /// <returns></returns>
        ResultJsonInfo<int> Remove(List<int> parameters);
    }
}
